home *** CD-ROM | disk | FTP | other *** search
- global gforegndlocHList, gMouseH, gMouseV, speedlist, speedlistOld
-
- on startMovie
- clearGlobals()
- gMouseH = the mouseH
- gMouseV = the mouseV
- set the keyDownScript to "quit"
- set the mouseDownScript to "quit"
- cursor(200)
- set the member of sprite 100 to member(16)
- repeat with x = 100 down to 1
- set the locV of sprite x to random(1100)
- end repeat
- gforegndlocHList = [0, 20, 40, 60, 80, 100, 120, 140, 160, 180, 200, 220, 240, 260, 280, 300, 320, 340, 360, 380, 400, 420, 440, 460, 480, 500, 520, 540, 560, 580, 600, 620, 640, 660, 680, 700, 720, 740, 760, 780, 800]
- speedlist = []
- speedlistOld = []
- repeat with i = 1 to 85
- kjlfdghjkldfgjkhldfgskjhlsdfghj = random(40) + 6
- add(speedlist, kjlfdghjkldfgjkhldfgskjhlsdfghj)
- end repeat
- speedlistOld = duplicate(speedlist)
- put speedlist
- end
-
- on stripeAnimation
- repeat with i = 85 down to 1
- spriteiSpeed = getAt(speedlist, i)
- if the locV of sprite i < 1100 then
- set the locV of sprite i to the locV of sprite i + spriteiSpeed
- next repeat
- end if
- set the locV of sprite i to -400
- glocHpicked = getAt(gforegndlocHList, random(count(gforegndlocHList)))
- set the locH of sprite i to glocHpicked
- end repeat
- end
-
- on glitch
- if random(40) > 39 then
- set the member of sprite 100 to member("glitch loop anim")
- h = random(480) + 100
- v = random(400) + 50
- set the loc of sprite 100 to point(h, v)
- else
- if random(40) > 39 then
- set the member of sprite 100 to member(16)
- end if
- end if
- end
-
- on stopMovie
- cursor(-1)
- end
-
- on enterFrame
- if (the mouseH <> gMouseH) or (the mouseV <> gMouseV) then
- quit()
- end if
- end
-